package com.huakang.mapper;

import com.huakang.entity.Medbuy;
import com.huakang.entity.MedbuyExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface MedbuyMapper {
    long countByExample(MedbuyExample example);

    int deleteByExample(MedbuyExample example);

    int deleteByPrimaryKey(Integer mbid);

    int insert(Medbuy record);

    int insertSelective(Medbuy record);

    List<Medbuy> selectByExample(MedbuyExample example);

    Medbuy selectByPrimaryKey(Integer mbid);

    int updateByExampleSelective(@Param("record") Medbuy record, @Param("example") MedbuyExample example);

    int updateByExample(@Param("record") Medbuy record, @Param("example") MedbuyExample example);

    int updateByPrimaryKeySelective(Medbuy record);

    int updateByPrimaryKey(Medbuy record);

    List<Medbuy> buySearch(Medbuy medbuy);
}